|
USB In-Circuit Debugger |
|
|
USB-In-Circuit-Debugger for MPLAB-6 and higher
|
|
Since tests with FT232-chips have been successfull and my pcb copper etching machine now is ready for mass production, here is a complete new revision of the ICD. The description is a little bit preliminary, you must apologize that I didn't have had much time for this at the moment. So please see the guestbook/forum, too!
I used SMD parts, thus the PCB size is only 5cm x 5cm. It features an USB interface (FTDI FT232BM) and is complete bus powered. Vpp is obtained through a easy-to-use monolitic 5V to 15V DC-DC-converter (in Germany: e.g. Reichelt, 8EUR). The generation of the TARGET_PGM signal has been simplified. It is now generated by an OpAmp and a poti, so you can adjust Vpp to your desire (and no need for lots of discrete transistors confusing the people especially when using replacements...). The PCB is only single sided (easy for "hobbycicians" to do...), but you can use the second side as complete gnd, then you won't need 3 wires. Type 1206 resistors and capacitors are used. You will have to add 3 wire connections and 3 connections to the gnd side (see air wires at pictures below (dark yellow)). The FT232BM appears as a virtual COM-port when installed, so don't select USB but the FT232's COMx-Port at MPLAB!
The picture above shows the new ICD getting firmware flashed by the old style ICD. I think the main advantage is that you don't need a heavy external power supply. Perhaps it might be speeded up as PL mentioned in the forum. Here are the schematics and the PCB. But be aware of a design fault concerning the pinning of the USB connector and the test pin of the FT232(tie it to ground!!)!!! In both cases, see the FTDI datasheet!!! I will try to correct this as soon as possible. Parts used: R1, R2: 27R R3: 1k5 R4: 470R R5: 1M R6, R15: 100k R7: about 56R for opamp-current limiting R8, R9, R11: 330R R10, R12 4k7 R13, R19: 6k8 R14: 2k2 R16, R17, R18: 4k7 R20, R21: 0R R22, R23: 1K (depending on how bright you LEDs should be) C1, C2: 22p C3, C5, C6, C8, C10: 100n C4: 3n3 C7: 10u@16V C9: 4u7@35V Trimmer: 100k IC1: FT232BM IC2: PIC16F876@20MHz IC3: LM358 or similar OpAmp DCDC-Modul: 5V to 15V L1: some uH or just leave it XTAL: 20MHz The schematic: icd2usbv6b.png The board (see design fault notes above!!!): icd2usbv6b_n.png icd2usbv6b_c.png |
|
See the guestbook/forum! |
|
|
|